/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.fx.dealer.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 商品类别Entity
 * @author jyangye
 * @version 2017-11-07
 */
public class FxWareskind extends DataEntity<FxWareskind> {
	
	private static final long serialVersionUID = 1L;
	private String wareskindid;		// wareskindid
	private String waresbigkind;		// waresbigkind
	private String wareskindcode;		// wareskindcode
	private String wareskindname;		// wareskindname
	private String productseries;		// productseries
	private String brand;		// brand
	private String propertyid;		// propertyid
	private String parentwareskindid;		// parentwareskindid
	
	public FxWareskind() {
		super();
	}

	public FxWareskind(String id){
		super(id);
	}

	@Length(min=1, max=32, message="wareskindid长度必须介于 1 和 32 之间")
	public String getWareskindid() {
		return wareskindid;
	}

	public void setWareskindid(String wareskindid) {
		this.wareskindid = wareskindid;
	}
	
	@Length(min=1, max=2, message="waresbigkind长度必须介于 1 和 2 之间")
	public String getWaresbigkind() {
		return waresbigkind;
	}

	public void setWaresbigkind(String waresbigkind) {
		this.waresbigkind = waresbigkind;
	}
	
	@Length(min=1, max=20, message="wareskindcode长度必须介于 1 和 20 之间")
	public String getWareskindcode() {
		return wareskindcode;
	}

	public void setWareskindcode(String wareskindcode) {
		this.wareskindcode = wareskindcode;
	}
	
	@Length(min=1, max=50, message="wareskindname长度必须介于 1 和 50 之间")
	public String getWareskindname() {
		return wareskindname;
	}

	public void setWareskindname(String wareskindname) {
		this.wareskindname = wareskindname;
	}
	
	@Length(min=0, max=30, message="productseries长度必须介于 0 和 30 之间")
	public String getProductseries() {
		return productseries;
	}

	public void setProductseries(String productseries) {
		this.productseries = productseries;
	}
	
	@Length(min=0, max=30, message="brand长度必须介于 0 和 30 之间")
	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}
	
	@Length(min=0, max=32, message="propertyid长度必须介于 0 和 32 之间")
	public String getPropertyid() {
		return propertyid;
	}

	public void setPropertyid(String propertyid) {
		this.propertyid = propertyid;
	}
	
	@Length(min=0, max=32, message="parentwareskindid长度必须介于 0 和 32 之间")
	public String getParentwareskindid() {
		return parentwareskindid;
	}

	public void setParentwareskindid(String parentwareskindid) {
		this.parentwareskindid = parentwareskindid;
	}
	
}